<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>首页</title>

    <link href="${basePath}/resources/zheng-admin/plugins/bootstrap-3.3.0/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="${basePath}/resources/zheng-admin/plugins/material-design-iconic-font-2.2.0/css/material-design-iconic-font.min.css" rel="stylesheet"/>
    <script type="text/javascript">
        function goToSystem(systemid,systemname,systemtitle){
            window.parent.goToSystem(systemid,systemname,systemtitle);
        }
    </script>
</head>
<body style="overflow: auto">
<div class="container" style="padding: 20px;">
    <div class="row">
    <c:forEach var="upmsSystem" items="${ upmsSystems}" varStatus="status">
        <c:if test="${upmsSystem.systemId != 1}">
            <div class="col-sm-6 col-md-4">
                <div class="thumbnail">
                    <a href="javascript:goToSystem('${upmsSystem.systemId}','${upmsSystem.name}','${upmsSystem.title}')">
                        <img class="system_icon" data-src="holder.js/100%x200" alt="100%x200" src="${basePath}${upmsSystem.banner}" data-holder-rendered="true" style="height: 200px; width: 100%; display: block;"/>
                    </a>
                    <div class="caption">
                        <h3>${upmsSystem.title}</h3>
                        <p>${upmsSystem.description}</p>
                    </div>
                </div>
            </div>
        </c:if>
    </c:forEach>
    </div>
</div>
<script src="${basePath}/resources/zheng-admin/plugins/bootstrap-3.3.0/js/bootstrap.min.js"></script>
</body>
</html>
